测试人员 : 虚情假意互帮互助小组
开始时间 : 2019-11-02 16:28:39
合计耗时 : 0:17:16.794518
测试结果 : 共 26,通过 24,错误 2,通过率= 92.31%
用例执行情况
概要{ 92.31% } 失败{ 0 } 通过{ 24 } 所有{ 26 }
| 用例集/测试用例 | 总计 | 通过 | 失败 | 错误 | 详细 | 用例截图 |
| test_Addgoods.TextShop | 3 | 3 | 0 | 0 | 详细 | |
test_shop_1 |
通过 | 显示截图 | ||||
test_shop_2 |
通过 | 显示截图 | ||||
test_shop_3 |
通过 | 显示截图 | ||||
| test_Deletegoods.TextShop | 3 | 3 | 0 | 0 | 详细 | |
test_shop_1 |
通过 | 显示截图 | ||||
test_shop_2 |
通过 | 显示截图 | ||||
test_shop_3 |
通过 | 显示截图 | ||||
| test_ShopCar.TextShop | 3 | 3 | 0 | 0 | 详细 | |
test_shop_1 |
通过 | 显示截图 | ||||
test_shop_2 |
通过 | 显示截图 | ||||
test_shop_3 |
通过 | 显示截图 | ||||
| test_Updatgoods.TextShop | 3 | 3 | 0 | 0 | 详细 | |
test_shop_1 |
通过 | 显示截图 | ||||
test_shop_2 |
通过 | 显示截图 | ||||
test_shop_3 |
通过 | 显示截图 | ||||
| test_adderss.TestAdderss | 3 | 3 | 0 | 0 | 详细 | |
test_adderss_1 |
通过 | 无截图 | ||||
test_adderss_2 |
通过 | 无截图 | ||||
test_adderss_3 |
通过 | 无截图 | ||||
| test_amend.TestAmend | 2 | 2 | 0 | 0 | 详细 | |
test_amend_1 |
通过 | 显示截图 | ||||
test_amend_2 |
通过 | 显示截图 | ||||
| test_delete.TestDelete | 2 | 2 | 0 | 0 | 详细 | |
test_accept_delect |
通过 | 显示截图 | ||||
test_dismiss_delect |
通过 | 显示截图 | ||||
| test_goods.Test_Add_goods | 2 | 1 | 0 | 1 | 详细 | |
test_add_goods_run2 |
ft8_1: Traceback (most recent call last):
File "E:\slelenium自动化\20191027课堂笔记\ECshop\script\test_goods.py", line 202, in test_add_goods_run2
self.add_img()
File "E:\slelenium自动化\20191027课堂笔记\ECshop\script\test_goods.py", line 22, in add_img
self.imgs.append(self.driver.get_screenshot_as_base64())
File "C:\Program Files\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 1074, in get_screenshot_as_base64
return self.execute(Command.SCREENSHOT)['value']
File "C:\Program Files\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Program Files\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id
|
无截图 | ||||
test_add_goods_run_ |
通过 | 显示截图 | ||||
| test_login.Test_login | 3 | 3 | 0 | 0 | 详细 | |
test_01_1 |
通过 | 显示截图 | ||||
test_01_2 |
通过 | 显示截图 | ||||
test_01_3 |
通过 | 显示截图 | ||||
| unittest.loader._FailedTest | 1 | 0 | 0 | 1 | 详细 | |
test_register |
ft10_1: ImportError: Failed to import test module: test_register
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\unittest\loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "C:\Program Files\Python37\lib\unittest\loader.py", line 377, in _get_module_from_name
__import__(name)
File "E:\slelenium自动化\20191027课堂笔记\ECshop\script\test_register.py", line 13, in <module>
oper = Operationxcel(r"../datas/register_data.xls")
File "E:\slelenium自动化\20191027课堂笔记\ECshop\common\operartion_Excel.py", line 4, in __init__
self.table =pandas.read_excel(filename)#通过pandas读取excel表格
File "C:\Program Files\Python37\lib\site-packages\pandas\util\_decorators.py", line 208, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Python37\lib\site-packages\pandas\io\excel\_base.py", line 310, in read_excel
io = ExcelFile(io, engine=engine)
File "C:\Program Files\Python37\lib\site-packages\pandas\io\excel\_base.py", line 819, in __init__
self._reader = self._engines[engine](self._io)
File "C:\Program Files\Python37\lib\site-packages\pandas\io\excel\_xlrd.py", line 21, in __init__
super().__init__(filepath_or_buffer)
File "C:\Program Files\Python37\lib\site-packages\pandas\io\excel\_base.py", line 359, in __init__
self.book = self.load_workbook(filepath_or_buffer)
File "C:\Program Files\Python37\lib\site-packages\pandas\io\excel\_xlrd.py", line 36, in load_workbook
return open_workbook(filepath_or_buffer)
File "C:\Program Files\Python37\lib\site-packages\xlrd\__init__.py", line 111, in open_workbook
with open(filename, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '../datas/register_data.xls'
|
无截图 | ||||
| test_show_goods.TestShow | 1 | 1 | 0 | 0 | 详细 | |
test_show |
通过 | 显示截图 | ||||
| 总计 | 26 | 24 | 0 | 2 | 通过率:92.31% | |